package demo08;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        Manager m=new Manager("王思聪", 200);

        Memeber m1=new Memeber("老王",0);
        Memeber m2=new Memeber("老李",0);
        Memeber m3=new Memeber("老张",0);


        m.show();
        m1.show();
        m2.show();
        m3.show();

        System.out.println("------------------");
        ArrayList<Integer> sendRed = m.luckRead(50, 5);
        m1.receive(sendRed);
        m2.receive(sendRed);
        m3.receive(sendRed);
        m.show();
        m1.show();
        m2.show();
        m3.show();
    }
}
